﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="format-detection" content="telephone=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<%@ include file="/page/wx/include.jsp"%>
<title>
	<c:if test="${accountType == 'bank' }">
		请选择银行卡
	</c:if>
	<c:if test="${accountType == 'alipay' }">
		请选择支付宝
	</c:if>
</title>
<link rel="stylesheet" type="text/css" href="<%=basePath%>/statics_wx/css/main2.css">
<script src="<%=basePath%>/statics_wx/js/jquery.1.11.3.min.js"></script>
<script src="<%=basePath%>/statics_wx/js/js.js"></script>
<script type="text/javascript" src="<%=basePath%>/js/wx/my/wallet/withdraw.js"></script>
</head>
<body style="background:#f3f3f3"> 
<div class="yhk_list">
	<ul>
	<c:forEach items="${accountList}" var="account">
		<c:if test="${account.accountType == 'bank' }">
	    	<li>
	    	<a href="<%=basePath%>/wx/my/wxCustomerAccount/toWithdrawPage?id=${account.id}">
	        	<div class="boxs_2">
	            	<div class="pic">
	                	<img src="<%=basePath%>/statics_wx/images/icon_yl.png" />
	                </div>
	                <div class="item-info">
	                	<h2>${account.bankName }</h2>
	                    <p>尾号<span>******${account.accountCode }</span>(${account.accountName})</p>
	                    <h3></h3>
	                </div>
	            </div>
	        </a>
	        </li>
        </c:if>
        <c:if test="${account.accountType == 'alipay' }">
	    	<li>
	    	<a href="<%=basePath%>/wx/my/wxCustomerAccount/toWithdrawPage?id=${account.id}">
	        	<div class="boxs_2">
	            	<div class="pic">
	                	<img src="<%=basePath%>/statics_wx/images/icon_alipay1.png" />
	                </div>
	                <div class="item-info">
	                	<h2>支付宝</h2>
	                    <p><span>${account.alipayAccount}******</span>(${account.accountName})</p>
	                    <h3></h3>
	                </div>
	            </div>
	        </a>
	        </li>
        </c:if>
    </c:forEach>
    </ul>
</div>
</body>
</html>